import request from '@/utils/request'

export function listBidding(params) {
    return request({
        url: '/bid/enterprise/bidding/front/list',
        method: 'get',
        params:params
    })
}

export function getBidding(id) {
    return request({
        url: '/bid/enterprise/bidding/front/'+id,
        method: 'get',
    })
}

export function updateBidding(data) {
    return request({
      url: '/bid/enterprise/bidding/front/edit',
      method: 'post',
      data: data
    })
  }